package com.jing.shop.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductSkuStockDTO {

    @ApiModelProperty("主键id")
    private BigInteger id;

    @ApiModelProperty("商品id")
    private BigInteger productId;

    @ApiModelProperty(value = "sku编码",required = true)
    private String skuCode;

    @ApiModelProperty(value = "价格",example = "100.00")
    private BigInteger price;// 注意：这里我假设价格是BigInteger，但通常价格是BigDecimal

    @ApiModelProperty("库存")
    private BigInteger stock;

    @ApiModelProperty("预警库存")
    private BigInteger lowStock;

    //TODO 暂时用不到
//    @ApiModelProperty("规格属性1")
//    private String sp1;
//
//    @ApiModelProperty("规格属性2")
//    private String sp2;
//
//    @ApiModelProperty("规格属性3")
//    private String sp3;

    @ApiModelProperty("展示图片")
    private List<String> pics;

    @ApiModelProperty("销量")
    private BigInteger sale;

    @ApiModelProperty(value = "单品促销价格",example = "90.00")
    private BigInteger promotionPrice;// 注意：这里我假设价格是BigInteger，但通常价格是BigDecimal

    @ApiModelProperty("锁定库存")
    private BigInteger lockStock;

}
